package com.seednia.foundation.framework.extension.command;

import org.apache.commons.chain.impl.ContextBase;

import com.seednia.foundation.framework.dto.AbstractRecord;
import com.seednia.foundation.framework.dto.QueryParams;
import com.seednia.foundation.framework.service.RequestContext;

public class CommandContext extends ContextBase {
	
	public static final String COMMAND_SUFFIX_PNAME = "_commandSuffix";

	/**
	 * 
	 */
	private static final long serialVersionUID = 1186579782620152294L;
	
	private RequestContext requestContext = null;
	private QueryParams queryParams = null;
	
	private AbstractRecord record = null;

	
	public RequestContext getRequestContext() {
		return requestContext;
	}

	public void setRequestContext(RequestContext requestContext) {
		this.requestContext = requestContext;
	}

	public AbstractRecord getRecord() {
		return record;
	}

	public void setRecord(AbstractRecord record) {
		this.record = record;
	}

	public QueryParams getQueryParams() {
		return queryParams;
	}

	public void setQueryParams(QueryParams queryParams) {
		this.queryParams = queryParams;
	}
	
	
	
}
